package org.example.commerce.dao.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.math.BigDecimal;
import java.io.Serializable;

/**
 * (TabOrderItem)实体类
 *
 * @author makejava
 * @since 2022-12-05 08:41:20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Table(name = "tab_order_item")
public class OrderItem implements Serializable {
    /**
     * 订单号
     */
    private String orderId;
    /**
     * 商品号
     */
    private Long itemsId;
    /**
     * 商品价格
     */
    private BigDecimal itemsPrice;
    /**
     * 商品数量
     */
    private Integer itemsQuantity;
    /**
     * 商品合计
     */
    private BigDecimal itemsTotal;
}

